package ru.passivemoney.strategy.dummy;

import java.util.Map;

import ru.passivemoney.strategy.AStrategy;
import ru.passivemoney.strategy.Prognosis;
import ru.passivemoney.strategy.processors.IProcessor;

import com.dukascopy.api.IBar;
import com.dukascopy.api.Instrument;
import com.dukascopy.api.Period;

public class DummyStrategy extends AStrategy {

	public DummyStrategy(Map<Period, IProcessor> processors) {
		super(processors);
	}

	@Override
	public Prognosis processBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) {
		return processors.get(period).processBar(instrument, period, askBar, bidBar);
	}

}
